import os

"""
Basic config
"""
APP_NAME = 'devtools'

HOST = os.environ.get('SERVER_HOST', None)
PORT = os.environ.get('SERVER_PORT', 8010)

DB_CONFIG = {
    'host': os.environ.get('HOST', 'localhost'),
    'user': 'root',
    'password': os.environ.get('PASSWORD', '123456'),
    'port': os.environ.get('PORT', 3306),
    'database': os.environ.get('DB_NAME', '')
}

AUTH_TOKEN='6ChaVV3VcG9p6VblbrCKY3MBYjZ8vweyhh4EQVXBu6I='
APP_NOTIFY_URL='http://127.0.0.1:8010/v1/apps/nofity/{0}'.format('devtools')